package com.panfeng.xcloud.boss.provider.assets.web.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "查询相关交易日志响应")
public class QueryWalletTransLogPageRespVO implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("本系统内流水号")
    private String flowOrderId;

    @ApiModelProperty("交易所订单id")
    private String exchangeOrderId;

    @ApiModelProperty("日志类型(0.补仓 1.止盈 2.取消补仓 3.取消止盈 4.补仓买入金额不足)")
    private Integer logType;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("交易对目标币种")
    private String destinationCoin;

    @ApiModelProperty("交易对源币种")
    private String sourceCoin;

    @ApiModelProperty("多空方向(buy:多单 sell:空单)")
    private String direction;

    @ApiModelProperty("杠杆倍数")
    private Integer leverRate;

    @ApiModelProperty("交易所类型(0.okex 1.huobi 2.binance)")
    private Integer exchangeType;

    @ApiModelProperty("数量")
    private BigDecimal holdAmount;

    @ApiModelProperty("消耗金额")
    private BigDecimal consumeMoney;

    @ApiModelProperty("最高价")
    private BigDecimal highPrice;

    @ApiModelProperty("最低价")
    private BigDecimal lowPrice;

    @ApiModelProperty("订单价格")
    private BigDecimal currentPrice;

    @ApiModelProperty("详细描述")
    private String note;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
